'use client';

import React, { Suspense } from "react";
import NavBar from "@/components/discover/c-views/navBar";

export default function DiscoverLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <div className="discover-layout">
      <NavBar />
      <Suspense fallback={<div>正在加载...</div>}>
        {children}
      </Suspense>
    </div>
  );
} 